<?php 
/**
 * 阅读文章页面
 */
if(!defined('EMLOG_ROOT')) {exit('error!');} 
$logurl = Url::log($logid);
?>
</head>
<body class="single single-post single-format-standard comment-open">
<?php blog_head(); ?>
<section class="container ">
	<div class="content-wrap">
	<div class="content" style="background-color:#FFF">
    <header class="article-header">
	<h1 class="article-title"><a href="<?php echo $logurl;?>"><?php echo $log_title; ?></a></h1>
		<div class="article-meta">
		<span class="item">
        <i class="icon-user"></i>  <?php blog_author($author); ?> </span>
        <span class="item">
        <i class="icon-time"></i> <?php echo gmdate('Y-m-d', $date); ?></span>
        <span class="item">
        <i class="icon-th-list"></i> 
		<?php blog_sorts($logid); ?></span>
    	<span class="item post-views" id="views">
        <i class="icon-eye-open"></i> 阅读(<?php echo $views; ?>)</span>
        <span class="item" id="ping">
        <i class="icon-comment"></i> 评论(<?php echo $comnum;?>)</span>
		<?php  editflg($logid,$author);?>
		</div>
	  </header>
<article class="article-content">
<p><?php blog_content($log_content); ?></p>
<p><?php doAction('log_related', $logData); ?></p>
<p class="post-copyright">转载请注明出处 <a href="<?php echo BLOG_URL;?>"><?php echo $blogname;?></a> » <a href="<?php echo Url::log($logid);?>"><?php echo $log_title; ?></a></p>
</article>
<div class="article-tags"><?php blog_tag($logid);?></div>
<nav class="article-nav"><?php neighbor_log($neighborLog); ?></nav>
<?php if($relates == "yes"):?>
<div class="relates">
<div class="title"><h3>相关推荐</h3></div>
<ul> <?php related_logs($logData);?></ul>
</div>
<?php else:?>
<?php endif;?>
    <?php blog_comments_post($logid,$ckname,$ckmail,$ckurl,$verifyCode,$allow_remark);?>
    <?php blog_comments($comments,$comnum,$params);?>
    </div></div>
<?php include View::getView('side1');?>
﻿</section>
<?php include View::getView('footer');?>